package com.airlines.crewassignment.service.basicinfo;

import com.airlines.base.service.base.BaseService;
import com.airlines.crewassignment.entity.basicinfo.AuthorizedStrength;

/**
 * @author xxxx
 * @date 2018/8/7
 * @company xxxx Airlines
 * @description
 */
public interface AuthorizedStrengthService extends BaseService<AuthorizedStrength,String> {
    /**
     * 通过CrewId和序列获取
     * @param authorizedStrength
     * @return
     */
    AuthorizedStrength getByCrewIdAndSerial(AuthorizedStrength authorizedStrength);

    /**
     * 删除
     * @param authorizedStrength
     */
    Integer delete(AuthorizedStrength authorizedStrength);

    /**
     *
     * @param techNoArr
     * @return
     */
    String getTechNamesByTechNoArr(String[] techNoArr);
}
